using System;
using System.Collections.Generic;

namespace Inventory.Domain.Models
{
    public class PersonsProfession
    {
        public PersonsProfession()
        {
            this.MoviesPersonsProfessions = new List<MoviesPersonsProfession>();
        }

        public int Id { get; set; }
        public int PersonId { get; set; }
        public int ProfessionId { get; set; }
        public virtual ICollection<MoviesPersonsProfession> MoviesPersonsProfessions { get; set; }
        public virtual Person Person { get; set; }
        public virtual Profession Profession { get; set; }
    }
}
